package com.university.mentalhealthplatform.global.rbac.dto.normal;

import com.university.mentalhealthplatform.global.rbac.model.Endpoint;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class SimpleEndpointDTO {
    private Long id;
    private String displayName;
    private String path;
    private String method;
    private String description;

    public SimpleEndpointDTO() {

    }

    public SimpleEndpointDTO(Endpoint endpoint) {
        this.id = endpoint.getId();
        this.path = endpoint.getPath();
    }
}
